add_custom_target(doc
COMMAND make design
COMMAND make answers
)

add_custom_target(answers
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doc
COMMAND xelatex answers.tex
COMMAND xelatex answers.tex
)

add_custom_target(design
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doc
COMMAND xelatex design.tex
COMMAND xelatex design.tex
)

add_custom_target(cleanDoc
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doc
COMMAND rm -rf *.pdf *.aux *.log *.out
)
